package com.design.YiTong.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.design.YiTong.model.article.articleInfo;
import com.design.YiTong.model.medicinal.MedicinalOrder;
import com.design.YiTong.model.medicinal.MedicinalShop;

public interface ShopService extends IService<MedicinalShop> {
    MedicinalShop searchById(long id);
    boolean updateMedinalSum(MedicinalOrder medicinalOrder);
    IPage<MedicinalShop> showMedicinal(Page<MedicinalShop> pageParam);
    IPage<MedicinalShop> searchByName(Page<MedicinalShop> pageParam,String name);
    void saveOrupdataMed(MedicinalShop medicinalShop);
}
